<template>
  <div>
      <div class="bycbox">
          <p>{{title}}</p>
          <van-icon name="arrow"></van-icon>
      </div>
  </div>
</template>

<script>
export default {
  // 组件名称
  name: "demo",
  // 组件参数 接收来自父组件的数据
  props: ["title"],
  // 局部注册的组件
  components: {},
  // 组件状态值
  data() {
    return {};
  },
  // 计算属性
  computed: {},
  // 侦听器
  watch: {},
  // 组件方法
  methods: {},
  //生命周期
  created() {},
  mounted() {},
};
</script> 

<style scoped lanmg="scss">
.bycbox{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 3px;
   border-bottom: 1px solid #ddd;
}
</style>
